﻿<%@ Page Title="" Language="C#" MasterPageFile="~/GT.Site.Master" AutoEventWireup="true" CodeBehind="Aprobar-Riesgos.aspx.cs" Inherits="TMD.GT.Site.Vistas.AlineacionComponente.Aprobar_Riesgos" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            height: 21px;
        }
        .style3
        {
            height: 27px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <table class="style1">
        <tr>
            <td>
                <fieldset>
                    <legend>Evaluar riesgos de componente</legend>
                    <table class="style1">
                        <tr>
                            <td class="style2">
                                Código:</td>
                            <td class="style2">
                                <asp:Label ID="lblCodigo" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Descripción:</td>
                            <td>
                                <asp:Label ID="lblDescripcion" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Estado:</td>
                            <td>
                                <asp:Label ID="lblEstado" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Prioridad:</td>
                            <td>
                                <asp:Label ID="lblPrioridad" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Riesgos:</td>
                            <td>
                                <asp:GridView ID="gvRiesgos" runat="server" AutoGenerateColumns="False" >
                                    <Columns>
                                        <asp:BoundField HeaderText="Riesgo" DataField="DESCRIPCION" />
                                        <asp:TemplateField HeaderText="Impacto"> 
                                            <ItemTemplate>  
                                                <asp:DropDownList ID="ddlImpacto" runat="server" onchange="javascript:alert('changed');">
                                                                <asp:ListItem>1</asp:ListItem>
                                                                <asp:ListItem>2</asp:ListItem>
                                                                <asp:ListItem>3</asp:ListItem>
                                                                <asp:ListItem>4</asp:ListItem>
                                                                <asp:ListItem>5</asp:ListItem>
                                                                <asp:ListItem>6</asp:ListItem>
                                                                <asp:ListItem>7</asp:ListItem>
                                                                <asp:ListItem>8</asp:ListItem>
                                                                <asp:ListItem>9</asp:ListItem>
                                                                <asp:ListItem>10</asp:ListItem>
                                                 </asp:DropDownList>
                                             </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Probabilidad">
                                            <ItemTemplate>
                                                <asp:DropDownList ID="ddlProbabilidad" runat="server" onchange="javascript:alert('changed');">
                                                                <asp:ListItem>1</asp:ListItem>
                                                                <asp:ListItem>2</asp:ListItem>
                                                                <asp:ListItem>3</asp:ListItem>
                                                                <asp:ListItem>4</asp:ListItem>
                                                                <asp:ListItem>5</asp:ListItem>
                                                                <asp:ListItem>6</asp:ListItem>
                                                                <asp:ListItem>7</asp:ListItem>
                                                                <asp:ListItem>8</asp:ListItem>
                                                                <asp:ListItem>9</asp:ListItem>
                                                                <asp:ListItem>10</asp:ListItem>
                                                 </asp:DropDownList>
                                             </ItemTemplate>
                                        </asp:TemplateField>
                                    </Columns>
                                </asp:GridView>
                            </td>
                        </tr>
                        <tr>
                            <td class="style3">
                                Valor de balanceo:</td>
                            <td class="style3">
                                <asp:TextBox ID="txtValorBalanceo" runat="server" ReadOnly="True"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Activar:</td>
                            <td>
                                <asp:RadioButton ID="optActivar" runat="server" GroupName="grpActivar" />
                                <asp:RadioButton ID="optNoActivar" runat="server" GroupName="grpActivar" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Observación:</td>
                            <td>
                                <asp:TextBox ID="txAObservacion" runat="server" Height="53px" 
                                    TextMode="MultiLine" Width="272px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Desición tomada:</td>
                            <td>
                                <asp:TextBox ID="txADesicion" runat="server" Height="54px" TextMode="MultiLine" 
                                    Width="270px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Próximos pasos:</td>
                            <td>
                                <asp:TextBox ID="txAPasos" runat="server" Height="53px" TextMode="MultiLine" 
                                    Width="272px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                <asp:Button ID="btnGuardar" runat="server" Text="Guardar" Width="83px" />
                                </td>
                                <td>
                                <asp:Button ID="btnCancelar" runat="server" Text="Cancelar" Width="83px" />
                                </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                    </table>
                </fieldset>
            </td>
        </tr>
    </table>
</asp:Content>
